<?php

namespace addons\cloud_market\controller\api;

use hiduoke\controller\AddonsController;
use think\facade\Db;

class Index extends AddonsController
{
    protected $notLogin = ['*'];

    protected function initialize()
    {
        parent::initialize();
    }

    public function index()
    {
        return $this->success("ok");
    }

    public function getSiteConfig()
    {
        $config = getAddonConfig();
        return $this->success("ok", $config);
    }
}
